<?php

namespace App\Http\Requests\Company\modPassword;
use App\Http\Requests\Request;

class FindPasswordRequest extends Request {
    public function authorize(){
        return true;
    }
    public function rules(){
        //print_r($_POST);exit;
        return [
            'reset_password' => 'required|between:6,60',
        ];
    }
    public function messages(){
        return [
            'reset_password.required' => '新密码必须填写',
            'reset_password.between' => '新密码字符长度必需6~60个字符',
        ];
    }
}